﻿using System;

namespace Smart.Model
{
	public interface IStartSystem : ISystem
	{

	}

    public interface IStart
    {
        void Run(object o);
    }

    public abstract class StartSystem<T> : IStart,IStartSystem
    {
		public void Run(object o)
		{
			this.Start((T)o);
		}

		public Type Type()
		{
			return typeof(T);
		}

		public abstract void Start(T self);
	}
}
